home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2325 / 2325.xpi / chrome / content / options.xul < prev    next >
Extensible Markup Language  |  2009-11-24  |  10KB  |  204 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?>
  5. <!DOCTYPE dialog SYSTEM "chrome://rss-ticker/locale/locale.dtd">
  6. <prefwindow
  7.     onload="findTicker(); getFeeds(); scales();"
  8.     title="&extension.title; - &options;"
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.     <prefpane id="general-pane" label="&options.general;" image="chrome://rss-ticker/content/skin-common/emblem-system.png">
  11.         <preferences>
  12.             <preference id="p_disabled" name="extensions.rssticker.disabled" type="bool" />
  13.             <preference id="p_hideWhenEmpty" name="extensions.rssticker.hideWhenEmpty" type="bool" />
  14.             <preference id="p_tickerPlacement" name="extensions.rssticker.tickerPlacement" type="int" />
  15.             <preference id="p_randomizeItems" name="extensions.rssticker.randomizeItems" type="bool" />
  16.             <preference id="p_limitItemsPerFeed" name="extensions.rssticker.limitItemsPerFeed" type="bool" />
  17.             <preference id="p_itemsPerFeed" name="extensions.rssticker.itemsPerFeed" type="int" />
  18.             <preference id="p_hideVisited" name="extensions.rssticker.hideVisited" type="bool" />
  19.             <preference id="p_boldUnvisited" name="extensions.rssticker.boldUnvisited" type="bool" />
  20.             <preference id="p_alwaysOpenInNewTab" name="extensions.rssticker.alwaysOpenInNewTab" type="bool" />
  21.         </preferences>
  22.         <vbox>
  23.             <description>&options.restartNotice;</description>
  24.             <groupbox>
  25.                 <checkbox preference="p_disabled" label="&disableTicker;" />
  26.                 <checkbox preference="p_hideWhenEmpty" label="&hideWhenEmpty;" />
  27.             </groupbox>
  28.             <groupbox>
  29.                 <caption label="&options.tickerPlacement;" />
  30.                 <menulist preference="p_tickerPlacement">
  31.                     <menupopup>
  32.                         <menuitem label="&tickerPlacement.belowStatusBar;" value="1" />
  33.                         <menuitem label="&tickerPlacement.belowBMTB;" value="2" />
  34.                     </menupopup>
  35.                 </menulist>
  36.             </groupbox>
  37.             <groupbox>
  38.                 <checkbox preference="p_randomizeItems" label="&options.random;" />
  39.             </groupbox>
  40.             <groupbox>
  41.                 <checkbox preference="p_limitItemsPerFeed" label="&options.limitItemsPerFeed;" />
  42.                 <hbox align="center">
  43.                     <label value="&options.itemsPerFeed;:" />
  44.                     <textbox flex="1" preference="p_itemsPerFeed" />
  45.                 </hbox>                                    
  46.             </groupbox>
  47.             <groupbox>
  48.                 <checkbox preference="p_hideVisited" label="&options.hide; *"/>
  49.                 <checkbox preference="p_boldUnvisited" label="&options.bold; *"/>
  50.             </groupbox>
  51.             <groupbox>
  52.                 <checkbox preference="p_alwaysOpenInNewTab" label="&options.openInNewTab;"/>
  53.             </groupbox>
  54.         </vbox>
  55.         <spacer style="height: 30px;" />
  56.     </prefpane>
  57.     <prefpane id="advanced-pane" label="&options.advanced;" image="chrome://rss-ticker/content/skin-common/utilities-terminal.png">
  58.         <preferences>
  59.             <preference id="p_updateFrequency" name="extensions.rssticker.updateFrequency" type="int" />
  60.             <preference id="p_tickSpeed" name="extensions.rssticker.tickSpeed" type="int" />
  61.             <preference id="p_dw_limitWidth" name="extensions.rssticker.dw.limitWidth" type="bool" />
  62.             <preference id="p_dw_isMaxWidth" name="extensions.rssticker.dw.isMaxWidth" type="bool" />
  63.             <preference id="p_dw_itemWidth" name="extensions.rssticker.dw.itemWidth" type="int" />
  64.             <preference id="p_ticksPerItem" name="extensions.rssticker.ticksPerItem" type="int" />
  65.         </preferences>
  66.         <vbox>
  67.             <description>&options.restartNotice;</description>
  68.             <groupbox>
  69.                 <caption label="&options.updateInterval;" />
  70.                 <hbox align="center">
  71.                     <label value="&options.update.1;" />
  72.                     <textbox preference="p_updateFrequency" size="3" />
  73.                     <label value="&options.update.2;" />
  74.                 </hbox>
  75.             </groupbox>
  76.             
  77.             <groupbox>
  78.                 <caption label="&options.speed;" />
  79.                 <hbox align="center">
  80.                     <label value="&faster;" />
  81.                     <scale flex="1" id="speed" min="1" max="75" increment="1" pageIncrement="5" />
  82.                     <label value="&slower;" />
  83.                 </hbox>
  84.             </groupbox>
  85.  
  86.             <groupbox>
  87.                 <caption label="&options.smooothness;" />
  88.                 <hbox align="center">
  89.                     <label value="&choppier;" />
  90.                     <scale flex="1" id="smoothness" min="1" max="300" increment="1" pageIncrement="25" />
  91.                     <label value="&smoother;" />
  92.                 </hbox>
  93.             </groupbox>
  94.  
  95.             <groupbox>
  96.                 <caption label="&options.dw.itemWidth;" />
  97.                 <checkbox preference="p_dw_limitWidth" label="&options.dw.limitWidth; *" />
  98.                 <checkbox preference="p_dw_isMaxWidth" label="&options.dw.isMaxWidth; *" />
  99.                 <hbox flex="1" align="center">
  100.                     <label value="&options.dw.itemWidth; : *" />
  101.                     <textbox flex="1" preference="p_dw_itemWidth" />
  102.                     <label value="&pixelAbbrev;" />
  103.                 </hbox>
  104.             </groupbox>
  105.             
  106.         </vbox>
  107.         <spacer style="height: 30px;" />
  108.     </prefpane>
  109.     <prefpane id="context-pane" label="&options.contextMenu;" image="chrome://rss-ticker/content/skin-common/bookmark-new.png">
  110.         <preferences>
  111.             <preference id="p_cm_open" name="extensions.rssticker.cm.open" type="bool" />
  112.             <preference id="p_cm_openInWindow" name="extensions.rssticker.cm.openInNewWindow" type="bool" />
  113.             <preference id="p_cm_openInTab" name="extensions.rssticker.cm.openInNewTab" type="bool" />
  114.             <preference id="p_cm_openAllInTabs" name="extensions.rssticker.cm.openAllInTabs" type="bool" />
  115.             <preference id="p_cm_openUnreadInTabs" name="extensions.rssticker.cm.openUnreadInTabs" type="bool" />
  116.             <preference id="p_cm_openFeedInTabs" name="extensions.rssticker.cm.openFeedInTabs" type="bool" />
  117.             <preference id="p_cm_openFeedUnreadInTabs" name="extensions.rssticker.cm.openFeedUnreadInTabs" type="bool" />
  118.             <preference id="p_cm_copyLinkTitle" name="extensions.rssticker.cm.copyLinkTitle" type="bool" />
  119.             <preference id="p_cm_copyLinkURL" name="extensions.rssticker.cm.copyLinkURL" type="bool" />
  120.             <preference id="p_cm_refreshFeeds" name="extensions.rssticker.cm.refreshFeeds" type="bool" />
  121.             <preference id="p_cm_manageFeeds" name="extensions.rssticker.cm.manageFeeds" type="bool" />
  122.             <preference id="p_cm_markAsRead" name="extensions.rssticker.cm.markAsRead" type="bool" />
  123.             <preference id="p_cm_markFeedAsRead" name="extensions.rssticker.cm.markFeedAsRead" type="bool" />
  124.             <preference id="p_cm_markAllAsRead" name="extensions.rssticker.cm.markAllAsRead" type="bool" />
  125.             <preference id="p_cm_options" name="extensions.rssticker.cm.options" type="bool" />
  126.             <preference id="p_cm_disableTicker" name="extensions.rssticker.cm.disableTicker" type="bool" />
  127.         </preferences>
  128.         <vbox>
  129.             <description style="max-width: 40em;">&cmOptionsDescription;</description>
  130.             <grid>
  131.                 <columns>
  132.                     <column flex="1" />
  133.                     <column flex="1" />
  134.                 </columns>
  135.                 <rows>
  136.                     <row>
  137.                         <vbox>
  138.                             <checkbox label="&cm.open;" preference="p_cm_open" />
  139.                             <checkbox label="&cm.openInNewWindow;" preference="p_cm_openInWindow" />
  140.                             <checkbox label="&cm.openInNewTab;" preference="p_cm_openInTab" />
  141.                         </vbox>
  142.                         <vbox>
  143.                             <checkbox label="&cm.openAllInTabs;" preference="p_cm_openAllInTabs" />
  144.                             <checkbox label="&cm.openUnreadInTabs;" preference="p_cm_openUnreadInTabs" />
  145.                             <checkbox label="&cm.openFeedInTabs;" preference="p_cm_openFeedInTabs" />
  146.                             <checkbox label="&cm.openFeedUnreadInTabs;" preference="p_cm_openFeedUnreadInTabs" />
  147.                         </vbox>
  148.                     </row>
  149.                     <row>
  150.                         <separator/>
  151.                         <separator/>
  152.                     </row>
  153.                     <row>
  154.                         <vbox>
  155.                             <checkbox label="&cm.copyLinkTitle;" preference="p_cm_copyLinkTitle" />
  156.                             <checkbox label="&cm.copyLinkURL;" preference="p_cm_copyLinkURL" />
  157.                             <checkbox label="&cm.refreshFeeds;" preference="p_cm_refreshFeeds" />
  158.                             <checkbox label="&cm.manageFeeds;" preference="p_cm_manageFeeds" />
  159.                         </vbox>
  160.                         <vbox>
  161.                             <checkbox label="&cm.markAsRead;" preference="p_cm_markAsRead" />
  162.                             <checkbox label="&cm.markFeedAsRead;" preference="p_cm_markFeedAsRead" />
  163.                             <checkbox label="&cm.markAllAsRead;" preference="p_cm_markAllAsRead" />
  164.                         </vbox>
  165.                     </row>
  166.                     <row>
  167.                         <separator/>
  168.                         <separator/>
  169.                     </row>
  170.                     <row>
  171.                         <vbox>
  172.                             <checkbox label="&options;" preference="p_cm_options" />
  173.                             <checkbox label="&disableTicker;" preference="p_cm_disableTicker" />
  174.                         </vbox>
  175.                     </row>
  176.                 </rows>
  177.             </grid>
  178.         </vbox>
  179.         <spacer style="height: 30px;" />
  180.     </prefpane>        
  181.     <prefpane id="manage-pane" label="&feeds;" image="chrome://rss-ticker/content/skin-common/feed-icon.gif">
  182.         <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"></script>
  183.         <script type="application/x-javascript" src="chrome://rss-ticker/content/ticker.object.js"></script>
  184.         <script type="application/x-javascript" src="chrome://rss-ticker/content/options.js"></script>
  185.         <vbox>
  186.             <description style="max-width: 35em;">&feedManagement;</description>
  187.             <listbox id="feeds" flex="1" seltype="multiple">
  188.                 <listhead>
  189.                     <listheader label="&feed;"/>
  190.                     <listheader label="&URL;"/>
  191.                 </listhead>
  192.                 <listcols>
  193.                     <listcol flex="1" />
  194.                     <listcol flex="1" />
  195.                 </listcols>
  196.             </listbox>
  197.             <hbox>
  198.                 <button flex="1" label="&add;" onclick="observeFeeds();" />
  199.                 <button flex="1" label="&remove;" onclick="ignoreFeeds();" />
  200.             </hbox>
  201.         </vbox>
  202.         <spacer style="height: 30px;" />
  203.     </prefpane>
  204. </prefwindow>